package com.xtaller.easy.admin.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xtaller.common.kit.IdKit;
import java.io.Serializable;

/**
* Created by Taller on 2018/05/02
*/
@SuppressWarnings("serial")
@TableName(value = "base_user_role")
public class BaseUserRole extends Model<BaseUserRole> {
  private String id = IdKit.getId(202);
  private String userId;
  private String roleId;
  private String creator;
  private Integer createTime;
  private String reviser;
  private Integer reviseTime;
  private Integer isDel;

  public String getId() {
      return id;
  } 
  public void setId(String id) {
      this.id = id;
  } 
  public String getUserId() {
      return userId;
  } 
  public void setUserId(String userId) {
      this.userId = userId;
  } 
  public String getRoleId() {
      return roleId;
  } 
  public void setRoleId(String roleId) {
      this.roleId = roleId;
  } 
  public String getCreator() {
      return creator;
  } 
  public void setCreator(String creator) {
      this.creator = creator;
  } 
  public Integer getCreateTime() { 
      return createTime;
  } 
  public void setCreateTime(Integer createTime) { 
      this.createTime = createTime;
  } 
  public String getReviser() {
      return reviser;
  } 
  public void setReviser(String reviser) {
      this.reviser = reviser;
  } 
  public Integer getReviseTime() { 
      return reviseTime;
  } 
  public void setReviseTime(Integer reviseTime) { 
      this.reviseTime = reviseTime;
  } 
  public Integer getIsDel() { 
      return isDel;
  } 
  public void setIsDel(Integer isDel) { 
      this.isDel = isDel;
  } 
  @Override
  protected Serializable pkVal() {
      return id;
  }
}
